package com.smilingsoftwaresolutions.funkata;

// get rid of this line. (Delete line or "Organize Imports")
import java.lang.IllegalAccessException;

@Kata(directions="Practice shortcuts (key bindings) for things you do most.")
public class KeyBindingsAkaShortcuts {

	/* See directions at bottom of this file. */
	
	// TODO rename to "backwards" 
	public void sdrawkcab () {
		int renameMe = 0;
		
		int i[] = {3,4}; // comment me this line out
		
		// delete this line!
	}
	
	public void calculateAndOutputReport() {
		int i = 2;
		i = i * 2;

		// Extract Method On These Next Three Lines
		System.out.println("*** BEGIN ***");
		System.out.println("Report value is " + i);
		System.out.println("**************");
	}
	
	 /* Find and use the key bindings / shortcuts for your IDE or editor.
	 * Example: Eclipse IDE's "scheme" of key bindings (shortcuts) can be found in Help.
	 * In eclipse, do Help / Help Contents, type in 'key bindings' in the Search box.
	 * 
	 * Common shortcuts:
	 *   Deleting a line
	 *   Renaming variables and functions
	 *   commenting out code
	 *
	 * In eclipse: 
	 * 	 Ctrl+d Deletes a line
	 *   Ctrl+/ Comments out a line or highlighted lines   
	 *   Alt+Shift+M Extract Method refactoring
	 *   Alt+Shift+R Does a Rename refactoring
	 *   Ctrl+Shift+O Organize Imports
	 *   
	 *  An article exists at http://sureshkrishna.wordpress.com/2007/09/15/top-10-eclipse-shotcuts/
	 */  
}
